package com.haiqi.common.persistence.dao;

import com.haiqi.common.persistence.entity.AisShipStatic;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AisShipStaticMapper {
    int deleteByPrimaryKey(String shipid);

    int insert(AisShipStatic record);

    int insertSelective(AisShipStatic record);

    List<AisShipStatic> getListByShipNameOrMmsi(@Param(value = "shipName") String shipName);

    AisShipStatic selectByPrimaryKey(String shipid);

    int updateByPrimaryKeySelective(AisShipStatic record);

    int updateByPrimaryKey(AisShipStatic record);
    AisShipStatic getShipByMmsi(String mmsi);
}